package quicklunch.e2.goodies.utils;

public class StringUtils {

    /**
     * @param s
     * @return
     */
    public static boolean hasLength(String s) {
        return (s != null && s.length() > 0);
    }

    public static boolean eq(String s1, String s2) {
        return s1 == null ? s2 == null : s1.equals(s2);
    }
}
